<?php
<object class="user_change_pw" name="user_change_pw" baseclass="page">
  <property name="Background"></property>
  <property name="Caption">Change Password</property>
  <property name="Color">#000000</property>
  <property name="DocType">dtNone</property>
  <property name="Height">192</property>
  <property name="IsMaster">0</property>
  <property name="Name">user_change_pw</property>
  <property name="Width">416</property>
  <property name="OnCreate">user_change_pwCreate</property>
  <property name="jsOnLoad">user_change_pwJSLoad</property>
  <object class="Image" name="Image1" >
    <property name="Autosize">1</property>
    <property name="Border">0</property>
    <property name="Height">157</property>
    <property name="ImageSource">image/key.png</property>
    <property name="Left">296</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">Image1</property>
    <property name="Top">35</property>
    <property name="Width">120</property>
  </object>
  <object class="Button" name="Button1" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Submit</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Weight">bold</property>
    </property>
    <property name="Height">22</property>
    <property name="Left">18</property>
    <property name="Name">Button1</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">4</property>
    <property name="Top">151</property>
    <property name="Width">70</property>
    <property name="OnClick">Button1Click</property>
  </object>
  <object class="Button" name="Button2" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Cancel</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Weight">bold</property>
    </property>
    <property name="Height">22</property>
    <property name="Left">98</property>
    <property name="Name">Button2</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">5</property>
    <property name="Top">151</property>
    <property name="Width">70</property>
    <property name="OnClick">Button2Click</property>
  </object>
  <object class="Label" name="Label8" >
    <property name="Alignment">agRight</property>
    <property name="Caption">*Type Old Password:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">24</property>
    <property name="Name">Label8</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">39</property>
    <property name="Width">119</property>
  </object>
  <object class="Label" name="Label9" >
    <property name="Alignment">agRight</property>
    <property name="Caption">*Type New Password:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">22</property>
    <property name="Name">Label9</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">75</property>
    <property name="Width">121</property>
  </object>
  <object class="Label" name="Label10" >
    <property name="Caption">*Verify New Password:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">18</property>
    <property name="Name">Label10</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">109</property>
    <property name="Width">125</property>
  </object>
  <object class="Edit" name="edVerifyPw" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="IsPassword">1</property>
    <property name="Left">150</property>
    <property name="Name">edVerifyPw</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">3</property>
    <property name="Top">105</property>
    <property name="Width">200</property>
    <property name="jsOnBlur">edVerifyPwJSBlur</property>
    <property name="jsOnKeyUp">edVerifyPwJSKeyUp</property>
  </object>
  <object class="Edit" name="edNewPw" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="IsPassword">1</property>
    <property name="Left">150</property>
    <property name="Name">edNewPw</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">2</property>
    <property name="Top">71</property>
    <property name="Width">200</property>
    <property name="jsOnBlur">edNewPwJSBlur</property>
    <property name="jsOnKeyUp">edNewPwJSKeyUp</property>
  </object>
  <object class="Label" name="lblError" >
    <property name="Alignment">agCenter</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FF0000</property>
        <property name="Size">9px</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">150</property>
    <property name="Name">lblError</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">55</property>
    <property name="Width">200</property>
  </object>
  <object class="Edit" name="edOldPw" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="IsPassword">1</property>
    <property name="Left">150</property>
    <property name="Name">edOldPw</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">1</property>
    <property name="Tag"></property>
    <property name="Top">35</property>
    <property name="Width">200</property>
    <property name="jsOnBlur">edOldPwJSBlur</property>
  </object>
  <object class="Label" name="lblPasswordError" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">150</property>
    <property name="Name">lblPasswordError</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">20</property>
    <property name="Width">200</property>
  </object>
  <object class="Label" name="lblError2" >
    <property name="Alignment">agCenter</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FF0000</property>
        <property name="Size">9px</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">150</property>
    <property name="Name">lblError2</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">90</property>
    <property name="Width">200</property>
  </object>
  <object class="HiddenField" name="hfNewLength" >
    <property name="Height">18</property>
    <property name="Name">hfNewLength</property>
    <property name="Width">80</property>
  </object>
  <object class="HiddenField" name="hfVerLength" >
    <property name="Height">18</property>
    <property name="Left">80</property>
    <property name="Name">hfVerLength</property>
    <property name="Width">80</property>
  </object>
  <object class="JTJavaScript" name="JSCompare" >
    <property name="Code"><![CDATA[var xmlhttp

function comparePass()
{
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null)
  {
  alert (&quot;Your browser does not support AJAX!&quot;);
  return;
  }
  var verify = document.getElementById('edOldPw').value;
  var auto_id = document.getElementById('hiddenUser').value;
  var url=&quot;change_password_ajax_check2.php&quot;;
  url=url+&quot;?verify=&quot;+verify;
  url=url+&quot;&amp;auto_id=&quot;+auto_id;
  xmlhttp.onreadystatechange=stateChangedFill;
  xmlhttp.open(&quot;GET&quot;,url,true);
  xmlhttp.send(null);
  }
  
  function stateChangedFill()
  {
  if (xmlhttp.readyState==4)
  {
  //var my_array = eval(xmlhttp.responseText);
  //document.getElementById('edHrs2').value = my_array[0];
  //document.getElementById('edOdStart').value = my_array[1];
  //document.getElementById('edOdstop').value = my_array[2];
  //document.getElementById('edMileage').value = my_array[3];
  var result = xmlhttp.responseText;
  if(result==0)
  document.getElementById('lblPasswordError').innerHTML = &quot;&amp;darr;Incorrect Old Password&amp;darr;&quot;;
  if(result==1)
  document.getElementById('lblPasswordError').innerHTML = &quot;&quot;;
  }
  }
  
  function GetXmlHttpObject()
  {
  if (window.XMLHttpRequest)
  {
  return new XMLHttpRequest();
  }
  if (window.ActiveXObject)
  {
  return new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  return null;
  }]]></property>
    <property name="Height">20</property>
    <property name="Left">184</property>
    <property name="Name">JSCompare</property>
    <property name="Width">180</property>
  </object>
  <object class="HiddenField" name="hiddenUser" >
    <property name="Height">18</property>
    <property name="Left">18</property>
    <property name="Name">hiddenUser</property>
    <property name="Top">127</property>
    <property name="Width">200</property>
  </object>
</object>
?>
